package cn.stronglink.assetmanage.business.inventory.model;

import cn.stronglink.assetmanage.entity.InventoryDetail;

/**
 * Created by yuzhantao on 2018/6/22.
 * 盘点中的资产工厂
 * 资产state状态:1未盘、2差异、3正常、4盘亏、5盘盈
 */

public class InventoryFactory {
    /**
     * 创建盘盈资产实例
     * @param inventoryOrderId
     * @param goodsRfid
     * @return
     */
    public InventoryDetail createInventoryProfitGoods(String inventoryOrderId,String goodsRfid){
        InventoryDetail goods = new InventoryDetail();
        goods.setOrderNo(inventoryOrderId);
        goods.setRfidNo(goodsRfid);
        goods.setStatus(5);
        return goods;
    }
}
